#region

#endregion

namespace ChumChase.Services
{
    using System;
    using System.Collections.Generic;

    public interface IUserSettings
    {
        IList<FeedDefinition> FeedDefinitions { get; }
    }

    [Serializable]
    public class UserSettings : IUserSettings
    {
        [NonSerialized] public static readonly string FileName = "usersettings.dat";
        private readonly IList<FeedDefinition> _feedDefinitions = new List<FeedDefinition>();

        public IList<FeedDefinition> FeedDefinitions
        {
            get { return _feedDefinitions; }
        }
    }

    [Serializable]
    public class FeedDefinition
    {
        private string _feedId;
        private string _provider;

        public string Provider
        {
            get { return _provider; }
            set { _provider = value; }
        }

        public string FeedId
        {
            get { return _feedId; }
            set { _feedId = value; }
        }
    }
}